home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Dev / ACE_SubMod.lha / fontreq.lha / FontReq.h < prev    next >
Text File  |  1995-01-22  |  774b  |  29 lines

  1. {*
  2. ** External subprogram declarations and structure definitions for the
  3. ** library module FontReq.o, which creates a simple ASL font requester
  4. ** and returns font name, height, style and front/back pen colors. 
  5. **
  6. ** See also ace.doc, "Creating & using ACE subprogram modules".
  7. **
  8. ** This file should reside in ACEinclude: so that #include <FontReq.h>
  9. ** can be used in programs using FontReq.o.
  10. **  
  11. ** Author: David J Benn
  12. **   Date: 22nd January 1995
  13. *}
  14.  
  15. STRUCT FontInfo
  16.   ADDRESS  fontName
  17.   SHORTINT fontHeight  
  18.   SHORTINT textStyle
  19.   SHORTINT frontColor
  20.   SHORTINT backColor
  21. END STRUCT
  22.  
  23. DECLARE SUB LONGINT FontInfoRequest(ADDRESS fontInfoStruct) EXTERNAL
  24.  
  25. '..See external references section in FontReq.b re: the following kludge!
  26. ASSEM 
  27.   xdef _EXIT_PROG
  28. END ASSEM
  29.